home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11785 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.9 KB

  1. Path: solon.com!not-for-mail
  2. From: seebs@solutions.solon.com (Peter Seebach)
  3. Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++
  4. Subject: Re: C/C++ knocks the crap out of Ada
  5. Date: 15 Mar 1996 22:49:04 -0600
  6. Organization: Usenet Fact Police (Undercover)
  7. Message-ID: <4idh80$6tj@solutions.solon.com>
  8. References: <00001a73+00002504@msn.com> <4iah20$p7k@saba.info.ucla.edu> <4ica32INN5hn@gambier.ugrad.cs.ubc.ca> <4icja9$1r92@saba.info.ucla.edu>
  9. NNTP-Posting-Host: solutions.solon.com
  10.  
  11. In article <4icja9$1r92@saba.info.ucla.edu>,
  12. Jay Martin <jmartin@cs.ucla.edu> wrote:
  13. >>Lex and Yacc are proven utilities that work. 
  14.  
  15. >Lex and Yacc are braindead crap along with C and Unix.  Do they have an
  16. >option to output Ada??
  17.  
  18. Huh?  I'm sorry, but you have *no* argument here.  Lex and Yacc are brilliant;
  19. they do *exactly* what they're supposed to do.  What problems do you see
  20. with them?  (Reply by email, please, this is even less topical than usual.)
  21.  
  22. Sure they have an option to output Ada.  It's the one you're about to write,
  23. if it's so useful.  I have no need for it, so I'm not about to.  It could
  24. be done, of course - it's just not currently needed.  :)
  25.  
  26. >You have become and "idiot savant" at it, congratulations,
  27. >unfortunately the next guy might not reading your code. I wasn't
  28. >talking about needing a grammer, I was talking with about reading in a
  29. >simple table.  Its stupid to bring in two tools with two more
  30. >"languages" to do something trivial that takes a page of normal code.
  31.  
  32. Very few people would bring in yacc for just reading a table.  I personally
  33. would.  My table parser would also support simple expression grammars.  Could
  34. you do that in a page of normal code, too?  (Of course you could; you'd
  35. use perl, and call eval.)
  36.  
  37. >> System specific performance nonsense deleted.
  38. >> Glowing accounts of the wonderfulness of Lex and Yacc deleted.
  39.  
  40. In other words, you deleted the content, and failed to respond to any
  41. of the points.  So, you're saying you're quite sure that a hand-written
  42. piece of code in some language would be dramatically better than a
  43. similar thing done in lex and/or yacc?  Unconditionally?  Nonsense.
  44.  
  45. Like all tools, lex and yacc are excellent for some tasks, and useless
  46. for others.  I can only assume you've been trying to use them for
  47. inappropriate tasks, or more likely, that you haven't ever used them,
  48. and that you're not familiar with C, either.  You've posted many
  49. claims, with *no* documentation, *no* examples, and *no* rationale.
  50.  
  51. It's clear that you hate C, and anything you think is tainted by it; it's
  52. unclear why you care so much, or where you got your ideas.
  53.  
  54. Most Ada advocates at least have points to make; you, sir, are a discredit
  55. to Ada users.  Hmph.  "rabid language fanatics" indeed.
  56.  
  57. -s
  58. -- 
  59. Peter Seebach - seebs@solon.com - Copyright 1996 Peter Seebach.
  60. C/Unix wizard -- C/Unix questions? Send mail for help.  No, really!
  61. FUCK the communications decency act.  Goddamned government.  [literally.]
  62. The *other* C FAQ - http://www.solon.com/~seebs/c/c-iaq.html
  63.